projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20e044b
)
Include source info in diagnostics
author
João Távora
<joaotavora@gmail.com>
Fri, 4 May 2018 13:15:41 +0000
(14:15 +0100)
committer
João Távora
<joaotavora@gmail.com>
Fri, 4 May 2018 13:15:41 +0000
(14:15 +0100)
* eglot.el (eglot--server-textDocument/publishDiagnostics):
Include source info.
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index d073be2603ed07ac9a46b07d60c818b2dcf2129f..10435a16f8ae6ded7782a3ee4a7bca6b780e6b22 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-936,7
+936,7
@@
running. INTERACTIVE is t if called interactively."
(point))))
(cl-loop for diag-spec across diagnostics
collect (cl-destructuring-bind (&key range severity _group
- _code
_
source message)
+ _code source message)
diag-spec
(cl-destructuring-bind (&key start end)
range
@@
-951,7
+951,7
@@
running. INTERACTIVE is t if called interactively."
:warning)
(t
:note))
-
message
))))
+
(concat source ": " message)
))))
into diags
finally
(if eglot--current-flymake-report-fn